package com.whnk.model.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.whnk.common.base.BaseEntity;

/**
 * 部门表 rpt_demo
 * 
 * @author whwhnk
 * @date 2021-05-27
 */
public class Demo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 部门id */
	private Integer deptId;
	/** 部门名称 */
	private String deptName;
	/** 部门人数 */
	private Integer userNum;

	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}

	public Integer getDeptId() 
	{
		return deptId;
	}
	public void setDeptName(String deptName) 
	{
		this.deptName = deptName;
	}

	public String getDeptName() 
	{
		return deptName;
	}
	public void setUserNum(Integer userNum) 
	{
		this.userNum = userNum;
	}

	public Integer getUserNum() 
	{
		return userNum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("userNum", getUserNum())
            .toString();
    }
}
